
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository, NgVariable } from '@farris/bef';
import { EmployeeMEntity } from './entities/employeementity';

import { EmployeeMProxy } from './employeemproxy';

@Injectable()
@NgRepository({
    apiUrl: 'api/basicdata/publicbasicdata/v1.0/rygwdy_frm',
    entityType: EmployeeMEntity
})
export class EmployeeMRepository extends BefRepository<EmployeeMEntity> {
    public name = 'EmployeeMRepository';

    public proxy: EmployeeMProxy;
    public paginationInfo = {
        EmployeeMEntity: {
            pageSize: 20,
        }
    };
    constructor(injector: Injector) {
        super(injector);
        this.proxy = injector.get(EmployeeMProxy, null);
    }
}